package com.zb.vo;

import com.zb.annotation.NumberPattern;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @Author WEN
 * @Date 2024/2/2 0002
 **/
@Data
@ApiModel("服务个人团队变更审核对象")
public class NetworkAloneTeamChangeCheckVo {

    @NotNull(message = "服务个人团队变更ID参数不能为空")
    @ApiModelProperty(value = "服务个人团队变更ID", required = true)
    private Long id;

    @NotNull(message = "审核状态不能为空")
    @NumberPattern(regexp = "^(2|4)$", message = "审核状态参数不合法", required = true)
    @ApiModelProperty(value = "审核状态：2-审核通过，4-已驳回", required = true, example = "1")
    private Integer status;

    @Length(max = 200, message = "审核备注长度限制 200 个字符以内")
    @ApiModelProperty(value = "审核备注")
    private String remark;
}
